/*自定义js*/
var app = {
    /*打开新窗口*/
    openpage:function (name,url) {
        api.openWin({
            name:name,
            url:url,
            bounces: false,
            rect: {
                x: 0,
                y: 0,
                w: 'auto',
                h: 'auto'
            }
        });
    },
    /*关闭窗口*/
    closepage:function () {
        api.closeWin();
    }
};